#ifndef __CCUBE__
#define __CCUBE__

class CCube
{
	double px, py, pz;//posicion
	double rx, ry, rz;//rotacion
	double sx, sy, sz;//escala
	double cr, cg, cb;//color rgb

	GLfloat light_ambient[] = { 0.0, 0.0, 0.0, 1.0 };
	GLfloat light_difuse[] = { 1.0, 1.0, 1.0, 1.0 };
	GLfloat light_specular[] = { 1.0, 1.0, 1.0, 1.0 };
	GLfloat light_position[] = { 1.0, 1.0, 1.0, 0.0 };

	GLfoat mat_specular[] = { 1.0, 1.0, 1.0, 1.0 };
	GLfoat low_shininess[] = { 5.0 };

public:
	CCube(void);
	~CCube(void);

	void setPosition(int x, int y, int z);
	void setRotation(double pitch, double yaw, double roll);
	void setScale(double x, double y, double z);
	void setColor(double r, double g, double b);
	void draw(bool solid);
};

#endif